<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width,initial-scale=1.0">
        <title>my-first-project</title>
    </head>
    <style>
    * {margin: 0;padding: 0}
    li {list-style: none;}
    a {text-decoration: none;}
    img {vertical-align: middle;}
    html,body{
    height: 100%;width: 100%;
    }
    </style>
    <body>
        <div id="app"></div>
        <!-- built files will be auto injected -->
    </body>
    <script type="text/javascript">
    (function(win,doc){
    // var ajax = new XMLHttpRequest();
    // ajax.open("post","https://ksl.wshoto.com/app/index.php?i=2&a=wxapp&c=entry&do=Login&m=ewei_shop&p=ApiLogin");
    // ajax.setRequestHeader("Content-type","application/x-www-form-urlencoded");
    // ajax.send("apiname=ksl&apipass=15s4s5e1f2r1z6w3s8n2");
    // ajax.onreadystatechange=function(res){
    //     console.log(ajax.responseXML);
    // }
    change();
    function change(){
    doc.documentElement.style.fontSize = (doc.documentElement.clientWidth>750?750:doc.documentElement.clientWidth)*20/360 + 'px';
    win.addEventListener('resize',change,false);
    win.addEventListener('orientationchange',change,false);
    }
    })(window,document)
    </script>
</html>